<?php echo $this->Session->flash(); ?>
<h1>PREDIOS PROYECTO <?php echo$cod; ?></h1>
<div id="loading" style="display: none;">
    <?php echo $html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>
<table  id="tabla" class="tabla" >
    <thead>
        <tr>
            <th>Código</th>
            <th>Nombre</th>
            <th>Vereda</th>
            <th>Area de Negociación</th>
            <th>Area de Títulos</th>
            <th colspan="1"></th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($properties as $prop): ?>
            <tr>
                <td><?php echo $prop['Property']['codigo'] ?></td>
                <td><?php echo $prop['Property']['nombre'] ?></td>
                <td><?php echo $prop['Property']['vereda'] ?></td>
                <td><?php echo $prop['Property']['area_negociacion'] ?></td>
                <td><?php echo $prop['Property']['area_titulo'] ?></td>
                <!-- <td><//?php echo $ajax->link($html->image("ver.png", array('width' => '30', 'heigth' => '30', 'alt' => 'Ver estudio')), array('controller' => 'title_studies', 'action' => 'title_index', $prop['Property']['id']), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading'), null, false); ?></td> -->
                <td><?php echo $ajax->link($html->image("ver.png", array('width' => '30', 'heigth' => '30', 'alt' => 'Ver estudio')), array('controller' => 'title_studies', 'action' => 'title_index', $prop['Property']['id']), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading','escape'=>false)); ?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<br>
<?php echo $html->link('IMPRIMIR ESTUDIO DE TITULOS',array('controller'=>'TitleStudies','action'=>'title_letter'),array('target'=>'blank')); ?>